﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>绑定注册或绑定帐号 - {$sitename}</title>
{include file="header"/>}
</head>
<body>
<!-- // sign-header end -->
<div class="layout" id="sign-content">
  <div class="ui-box ui-qire sign-focus" id="reg-box">
   <div class="logo"><a href="{$siteurl}" title="{$sitename}"></a></div>
    <div class="ui-cnt fn-clear">
     <div class="login-top"><a class="current" id="reg1" onclick="setTab('reg',1,2);">注册帐号</a><a id="reg2" onclick="setTab('reg',2,2);">绑定帐号</a></div>
         <div class="ui-form sign-primary" id="con_reg_1">
         <form id="regform" method="post" onsubmit="return false;">
          <div class="ui-form-item fn-clear">
             <p class="tbmov-notice">&nbsp;&nbsp;&nbsp;&nbsp;欢迎来自{$channel}的<b style="color:#7abd54;">{$nickname}</b>，立刻注册一个帐号，以后就可以直使用{$channel}登录{$sitename}</p>
          </div>
          <div class="ui-form-item fn-clear">
            <label for="email" class="ui-label w100"><strong>Email</strong>地址：</label>
            <input type="text" id="email" name="email" class="ui-input w220" value="">
            <p class="onError ui-message" id="emailTip" style="">你输入的邮箱长度非法,请确认</p>
          </div>
          <div class="ui-form-item fn-clear">
            <label for="username" class="ui-label w100">用户名：</label>
            <input type="text" id="uname" name="username" class="ui-input w220" value="{$nickname}">
            <p class="onError ui-message" id="unameTip" style="">该用户名不可用，请更换用户名</p>
          </div>
          <div class="ui-form-item fn-clear">
            <label for="password" class="ui-label w100">设置密码：</label>
            <input type="password" id="pwd" name="password" maxlength="20" class="ui-input w220" value="">
            <p class="onCorrect ui-message" id="pwdTip" style="">密码输入正确</p>
          </div>
          <div class="ui-form-item fn-clear">
            <label for="verifypass" class="ui-label w100">重复密码：</label>
            <input type="password" id="verifypass" name="verifypass" maxlength="20" class="ui-input w220" value="">
            <p class="onShow ui-message" id="verifypassTip" style="">输再次输入密码</p>
          </div>
          {notempty name="userconfig['user_code']"}
          <div class="ui-form-item fn-clear" id="validate-code">
            <label for="validate" class="ui-label w100">验证码：</label>
            <div class="ui-form-block w120">
              <input type="text" id="validate" name="validate" maxlength="10" class="ui-input w110" value="">
              <p class="validate-code-btn">看不清? <a href="javascript:void()" id="regverimg">换一张</a></p>
            </div>
            <img src="{:zp_url('user/validate/verify','',false,false)}" id="regverimg" alt="点击图片更换验证码" title="点击图片更换验证码">
            <p class="onShow ui-message" id="validateTip" style="">输入上图字母</p>
          </div>
          {/notempty}
          <div class="ui-form-item ui-form-checkbox fn-clear">
            <label class="ui-label w100">&nbsp;</label>
            <div class="ui-form-block w220">
              <label for="agreement" class="ui-label-checkbox">
                <input type="checkbox" value="" name="agreement" id="agreement" >
                <span style="color: #666;">我已阅读并接受</span>《<a href="{:zanpian_user_url('user/reg/agreement')}" target="_blank">使用协议</a>》 </label>
            </div>
             <p class="onShow ui-message" id="agreementTip" style="">输再次输入密码</p>
          </div>
          <div class="ui-form-item fn-clear">
            <label class="ui-label w100">&nbsp;</label>
            <input type="hidden" name="jump" value="1"/>
            <input type="submit" id="register" class="ui-button w220" value="注册会员">
          </div>
          </form>
        </div>
				<div class="ui-form sign-primary" id="con_reg_2" style="display:none"> 
                 <form id="loginform"  method="post" onsubmit="return false;">
					<div class="ui-form-item fn-clear">
						<label for="username" class="ui-label w100">您的帐号：</label>
						<input type="text" id="username1" name="username" class="ui-input w220" value="" />
						<p class="ui-message" id="username1Tip">请输入有效的Email地址或者用户名用户ID</p>
					</div>
					<div class="ui-form-item fn-clear">
						<label for="password" class="ui-label w100">密码：</label>
						<input type="password" id="password1" name="password" maxlength="20" class="ui-input w220"value="" />
						<p class="ui-message" id="password1Tip">6-16个字符</p>
					</div>
          {notempty name="userconfig['user_code']"}
          <div class="ui-form-item fn-clear" id="validate-code">
            <label for="validate" class="ui-label w100">验证码：</label>
            <div class="ui-form-block w120">
              <input type="text" id="validate1" name="validate" maxlength="10" class="ui-input w110" value="">
              <p class="validate-code-btn">看不清? <a href="javascript:void()" id="regverimg">换一张</a></p>
            </div>
            <img src="{:zp_url('user/validate/verify','',false,false)}" id="regverimg" alt="点击图片更换验证码" title="点击图片更换验证码">
            <p class="onShow ui-message" id="validate1Tip" style="">输入上图字母</p>
          </div>
          {/notempty}
					<div class="ui-form-item ui-form-checkbox fn-clear">
						<label class="ui-label w100">
							&nbsp;
						</label>
						<div class="ui-form-block w220">
							<label for="agreement" class="ui-label-checkbox">
                            <input type="hidden" name="jump" value="1"/>
                            <input type="checkbox" name="cookietime" id="cookietime" checked="checked" value="2592000"><span style="color: #666;">下次自动登录</span></label>
							<a href="{:zanpian_user_url('user/login/forgetpwd')}">忘记密码了？</a>
						</div>
					</div>
					<div class="ui-form-item fn-clear">
						<label class="ui-label w100">
							&nbsp;
						</label>
							<label class="ui-label w100">&nbsp;</label>
							<input type="submit" id="loginbt" class="ui-button w220" value="登录">
					</div>
                    </form>
				</div>      
        
        <!-- // ui-form#sign-primary end -->
      <div id="sign-app"><div class="sign-app-list"><h5>您已经成功登录：</h5><div class="sign-app-block fn-clear"><a href="#"><img src="{$avatar}" alt="" /></a><p><span>亲爱的 <strong>{$nickname}</strong></span><br />
欢迎使用<em>{$channel}</em>登录本站。</p></div><ul class="sign-app-tips"><li>如果你没有本站帐号，请在左边注册，注册成功即可使用<em>{$channel}</em>登录本站。</li><li>如果你已有帐号，请点击绑定帐号。</li></ul></div></div><!-- // sign-app end --></div></div>
        </div>
        <!-- // ui-form#sign-primary end -->
  <!-- // sign-box#regbox end -->
</div>
<script type="text/javascript" src="{$apicss}user/new/js/read.js"></script>
<script language="javascript" src="{$apicss}user/new/js/regvaild.js" type="text/javascript"></script>
{include file="footer"/}
<!-- // sign-content end -->
</body>
</html>